Friday, September 30, 2005

Automated Continuous Integration

Well I'm trying to setup an automated build and so far we are using VSS, C#.NET 2003 IDE and to automate I'm using Nant, NantContrib and CruiseControl.NET.

I've had some problems getting the Nant Solution target to work. We have a fairly large solution file and it's having problem loading the web project even though I have the web mappings in. I used this blog to start the process of setting up.

I ended up using the devenv to do the actual builds since the solution taks is giving me problems. Since my configuration name has spaces in it as well as the path to my solution I created a .bat file that runs the compilation of the solution and call that with an exec task. Then I 'll run a fxCop task which still needs to be cleaned up. I'll post later on some things I found, like if you use rc3 of nant and nantcontrib on cruisecontorl 0.92 you get to see the timings it took for nant to get files for SC and the time time it took to clean up folders, build code, etc..